<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>顶部页面</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="/shop/Public/css/amazeui.min.css"/>
    <link rel="stylesheet" href="/shop/Public/css/admin.css">
</head>
<body>
<header class="am-topbar admin-header">
    <div class="am-topbar-brand">
        <strong><?php echo ($system_name); ?></strong> <small>后台管理系统</small>
    </div>

    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
            <li><a href="/shop/" target="_blank"><span class="am-icon-home"></span>查看网站</a>
            <li><a href="javascript:;"><span class="am-icon-envelope-o"></span> 收件箱 <span class="am-badge am-badge-warning"><?php echo ($msg_mount); ?></span></a></li>
            <li><a class="am-dropdown-toggle" href="javascript:;"><span class="am-icon-users"></span><?php echo ($admin_user["truename"]); ?></a></li>
            <li><a class="am-dropdown-toggle" href="javascript:;"><span class="am-icon-cog"></span>设置</a></li>
            <li class="am-hide-sm-only"><a href="javascript:;"><span class="am-icon-power-off"></span> <span class="admin-fullText">退出</span></a></li>
        </ul>
    </div>
</header>
<script type="text/javascript" src="/shop/Public/js/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="/shop/Public/js/amazeui.min.js"></script>
<script type="text/javascript">
    $(function(){
        $('.admin-fullText').click(function(){
            $.post('../login/login_out')
        })
    })
</script>
</body>
</html>